import org.jfugue.pattern.Pattern;
import org.jfugue.player.Player;

public class MultipleVoicePlay {
    public static void main(String[] args) {
        String music =
                "V0 I[Piano] C5q D5q E5q F5q " +  // 音轨0：钢琴演奏旋律
                "V1 I[Cello] G4w Rq G4q " +       // 音轨1：大提琴低音伴奏
                "V2 I[zzz] Ri E5i F5i G5i ";    // 音轨2：长笛装饰音

        new Player().play(music);
    }
}
